<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>

<form:form commandName="formHeads" cssClass="form-horizontal" role="form" onsubmit="return false;">
    <div class="form-group" style="padding-left: 50px;">
        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="checkAll" name="" value="">
            <label for="checkAll" class="no-padding">全选</label>
        </div>
    </div>
    <div class="form-group" style="padding-left: 50px;">
        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="projectName" name="exportHead" value="projectName">
            <label for="projectName" class="no-padding">项目名称</label>
        </div>

        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="describes" name="exportHead" value="describes">
            <label for="describes" class="no-padding">基本情况</label>
        </div>

        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="natureTypes" name="exportHead" value="natureType">
            <label for="natureTypes" class="no-padding">行业类别</label>
        </div>

        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="startTime" name="exportHead" value="startTime">
            <label for="startTime" class="no-padding">计划开工时间</label>
        </div>

        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="resDepts" name="exportHead" value="resDept">
            <label for="resDepts" class="no-padding">责任单位</label>
        </div>

        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="ownerUnitPersons" name="exportHead" value="ownerUnitPerson">
            <label for="ownerUnitPersons" class="no-padding">负责人</label>
        </div>

        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="ownerUnitPersonPhone" name="exportHead" value="ownerUnitPersonPhone">
            <label for="ownerUnitPersonPhone" class="no-padding">负责人电话</label>
        </div>

        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="contactNames" name="exportHead" value="contactName">
            <label for="contactNames" class="no-padding">经办人</label>
        </div>

        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="contactPhone" name="exportHead" value="contactPhone">
            <label for="contactPhone" class="no-padding">经办人电话</label>
        </div>

        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="resUsers" name="exportHead" value="resUser">
            <label for="resUsers" class="no-padding">分管县领导</label>
        </div>

        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="resPhone" name="exportHead" value="resPhone">
            <label for="resPhone" class="no-padding">分管县领导电话</label>
        </div>

        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="addresss" name="exportHead" value="address">
            <label for="addresss" class="no-padding">项目地址</label>
        </div>

        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="statuss" name="exportHead" value="status">
            <label for="statuss" class="no-padding">进展情况</label>
        </div>

        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="overdueNode" name="exportHead" value="overdueNode">
            <label for="overdueNode" class="no-padding">逾期节点</label>
        </div>

        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="overSeeDeatil" name="exportHead" value="overSeeDeatil">
            <label for="overSeeDeatil" class="no-padding">督查情况</label>
        </div>

    </div>

</form:form>

<script>

    $(function () {
        $("#checkAll").click(function () {
            $("input[name='exportHead']").prop("checked", $(this).prop("checked"));
        });

    })
</script>



